<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   	xmlns:f="http://xmlns.jcp.org/jsf/core"
   	xmlns:h="http://xmlns.jcp.org/jsf/html"
   	xmlns:p="http://primefaces.org/ui"   
   	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">	
   	
	<ui:define name="head">
		h2{
   				text-align:center
   			}
   			.rowStyle{
	   			text-align: center;
	   			font-size:16px
   			}
	</ui:define>	
		<p:panelGrid cellpadding="5"  style="width:100%">
			<p:row styleClass="rowStyle">
				<p:column>
					要求名称
				</p:column>
				<p:column>
					是否必填
				</p:column>
			</p:row>
			<p:repeat var="_def" value="#{bulletinHome3.instance.defs}">
				<p:row>
					<p:column>
						<h:outputText value="#{_def.requiredName}" />
					</p:column>
					<p:column>
						<h:outputText value="#{_def.required ? '是' : '否'}" />
					</p:column>
				</p:row>
			</p:repeat>
		</p:panelGrid>
</ui:composition>